import request from '@/utils/Request.js'

/**
 * 加载文件操作记录
 * @param data
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const loadFilesApi = (data) => {
    return request.get('/file-operation/operations', {
        params: {
            filePath: data.fileName,
            current: data.current,
            size: data.size,
        }
    })
}